// samsting : this file is auto create.

#include "Ram/2015-05-01/ListUsersResponse.h"

namespace aliyun { namespace Ram {

ListUsersResponse::ListUsersResponse() {
}

const string& ListUsersResponse::User::GetUserId(void) const {
  return UserId_;
}

const string& ListUsersResponse::User::GetUserName(void) const {
  return UserName_;
}

const string& ListUsersResponse::User::GetDisplayName(void) const {
  return DisplayName_;
}

const string& ListUsersResponse::User::GetMobilePhone(void) const {
  return MobilePhone_;
}

const string& ListUsersResponse::User::GetEmail(void) const {
  return Email_;
}

const string& ListUsersResponse::User::GetComments(void) const {
  return Comments_;
}

const string& ListUsersResponse::User::GetCreateDate(void) const {
  return CreateDate_;
}

const string& ListUsersResponse::User::GetUpdateDate(void) const {
  return UpdateDate_;
}

const std::vector<ListUsersResponse::User>& ListUsersResponse::GetUsers(void) const {
  return Users_;
}

bool ListUsersResponse::GetIsTruncated(void) const {
  return IsTruncated_;
}

const string& ListUsersResponse::GetMarker(void) const {
  return Marker_;
}

const char* ListUsersResponse::BaseKey(void) {
  return "ListUsersResponse";
}

void ListUsersResponse::UnmarshallerMap(std::map<string, string>& response_map) {
  int Users__length = 0;
  UnmarshallerInt(Users__length, response_map, "ListUsersResponse.Users.Length");
  if(Users__length >= 0) {
    Users_.resize(Users__length);
    for(int i1 = 0; i1 < Users__length; i1++) {
      UnmarshallerString(Users_[i1].UserId_, response_map, "ListUsersResponse.Users["+string_ValueOfInt(i1)+"].UserId");
      UnmarshallerString(Users_[i1].UserName_, response_map, "ListUsersResponse.Users["+string_ValueOfInt(i1)+"].UserName");
      UnmarshallerString(Users_[i1].DisplayName_, response_map, "ListUsersResponse.Users["+string_ValueOfInt(i1)+"].DisplayName");
      UnmarshallerString(Users_[i1].MobilePhone_, response_map, "ListUsersResponse.Users["+string_ValueOfInt(i1)+"].MobilePhone");
      UnmarshallerString(Users_[i1].Email_, response_map, "ListUsersResponse.Users["+string_ValueOfInt(i1)+"].Email");
      UnmarshallerString(Users_[i1].Comments_, response_map, "ListUsersResponse.Users["+string_ValueOfInt(i1)+"].Comments");
      UnmarshallerString(Users_[i1].CreateDate_, response_map, "ListUsersResponse.Users["+string_ValueOfInt(i1)+"].CreateDate");
      UnmarshallerString(Users_[i1].UpdateDate_, response_map, "ListUsersResponse.Users["+string_ValueOfInt(i1)+"].UpdateDate");
    } // for(int i1 = 0; i1 < Users__length; i1++) {
  } // if(Users__length >= 0) {

  UnmarshallerBool(IsTruncated_, response_map, "ListUsersResponse.IsTruncated");
  UnmarshallerString(Marker_, response_map, "ListUsersResponse.Marker");
}


} } // namespace aliyun { namespace Ram {

// end of file 
